home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2000 November
/
cd joystick no120 novembre 2000 cd 1.iso
/
data
/
demos
/
gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
railway.gls
< prev
next >
Wrap
Text File
|
2000-08-22
|
5KB
|
326 lines
/************/
/* INCLUDES */
/************/
// n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
// default things to inherit our objects from
#include "defaults.gsh"
// good guys
#include "otis.gsh"
#include "fred.gsh"
#include "sniperbot.gsh"
// bad guys
#include "grover.gsh"
#include "billyjoe.gsh"
#include "turret.gsh"
// neutral things
#include "mine.gsh"
#include "walking_mine.gsh"
#include "scavenger.gsh"
// weapons
#include "goodie_laser.gsh"
#include "baddie_laser.gsh"
// fires
#include "carfire.gsh"
#include "oilfire.gsh"
/***********/
/* shapes */
/***********/
// world objects
shape Shp_carriage
{
file "railway.rif"
name "carriage"
}
shape Shp_carriage01
{
file "railway.rif"
name "carriage01"
}
shape Shp_carriage02
{
file "railway.rif"
name "carriage02"
}
shape Shp_carriage03
{
file "railway.rif"
name "carriage03"
}
shape Shp_carriage04
{
file "railway.rif"
name "carriage04"
}
shape Shp_engine
{
file "railway.rif"
name "engine"
}
shape Shp_rail1
{
file "railway.rif"
name "rail1"
}
shape Shp_rail2
{
file "railway.rif"
name "rail2"
}
shape Shp_support
{
file "railway.rif"
name "support"
}
shape Shp_support01
{
file "railway.rif"
name "support01"
}
shape Shp_support02
{
file "railway.rif"
name "support02"
}
shape Shp_support03
{
file "railway.rif"
name "support03"
}
shape Shp_support04
{
file "railway.rif"
name "support04"
}
shape Shp_support05
{
file "railway.rif"
name "support05"
}
shape Shp_support06
{
file "railway.rif"
name "support06"
}
shape Shp_support07
{
file "railway.rif"
name "support07"
}
shape Shp_wall1
{
file "railway.rif"
name "wall1"
}
shape Shp_wall2
{
file "railway.rif"
name "wall2"
}
/**********/
/* ROLES */
/**********/
// world objects
role Rol_carriage : Rol_PlacedObject
{
shape Shp_carriage
}
role Rol_carriage01 : Rol_PlacedObject
{
shape Shp_carriage01
}
role Rol_carriage02 : Rol_PlacedObject
{
shape Shp_carriage02
}
role Rol_carriage03 : Rol_PlacedObject
{
shape Shp_carriage03
}
role Rol_carriage04 : Rol_PlacedObject
{
shape Shp_carriage04
}
role Rol_engine : Rol_PlacedObject
{
shape Shp_engine
}
role Rol_rail1 : Rol_PlacedObject
{
shape Shp_rail1
}
role Rol_rail2 : Rol_PlacedObject
{
shape Shp_rail2
}
role Rol_support : Rol_PlacedObject
{
shape Shp_support
}
role Rol_support01 : Rol_PlacedObject
{
shape Shp_support01
}
role Rol_support02 : Rol_PlacedObject
{
shape Shp_support02
}
role Rol_support03 : Rol_PlacedObject
{
shape Shp_support03
}
role Rol_support04 : Rol_PlacedObject
{
shape Shp_support04
}
role Rol_support05 : Rol_PlacedObject
{
shape Shp_support05
}
role Rol_support06 : Rol_PlacedObject
{
shape Shp_support06
}
role Rol_support07 : Rol_PlacedObject
{
shape Shp_support07
}
role Rol_wall1 : Rol_PlacedObject
{
shape Shp_wall1
}
role Rol_wall2 : Rol_PlacedObject
{
shape Shp_wall2
}
/***********/
/* THE MAP */
/***********/
map /* _THE_ map - doesnt need a label */
{
file "railway.rif"
name "Land"
bitmap none // obsolete
camera plane none // TODO
max camera distance 100 // TBD exactly
// Neutral Objects
use Rol_carriage in team 0 for
"carriage"
use Rol_carriage01 in team 0 for
"carriage01"
use Rol_carriage02 in team 0 for
"carriage02"
use Rol_carriage03 in team 0 for
"carriage03"
use Rol_carriage04 in team 0 for
"carriage04"
use Rol_engine in team 0 for
"engine"
use Rol_rail1 in team 0 for
"rail1"
use Rol_rail2 in team 0 for
"rail2"
use Rol_support in team 0 for
"support"
use Rol_support01 in team 0 for
"support01"
use Rol_support02 in team 0 for
"support02"
use Rol_support03 in team 0 for
"support03"
use Rol_support04 in team 0 for
"support04"
use Rol_support05 in team 0 for
"support05"
use Rol_support06 in team 0 for
"support06"
use Rol_support07 in team 0 for
"support07"
use Rol_wall1 in team 0 for
"wall1"
use Rol_wall2 in team 0 for
"wall2"
// PLAYERS TROOPS
use Rol_Otis in team 1 for
"Goodie A"
// AI'S TROOPS
use Rol_BillyJoe in team 2 for
"Baddie A"
}